﻿@using Fierce.MvcExtend.Controls.Manage

<form id="updatepwd" method="post" class="document-form-example">
    <div class="document-row">
        <label class="document-label">登录账号</label>
        <input class="easyui-textbox" disabled="disabled" value="@ViewBag.Work.UserName" />
        <span class="document-info">当前登录用户的账号。</span>
    </div>
    <div class="document-row">
        <label class="document-label">现有密码</label>
        <input name="oldpwd" type="password" class="easyui-textbox" data-options="required:true,validType:'minLength[6]'" />
        <span class="document-info">现有密码如果输入错误将无法修改密码。</span>
    </div>
    <div class="document-row">
        <label class="document-label">新的密码</label>
        <input id="newpwd" type="password" class="easyui-textbox" data-options="required:true,validType:'minLength[6]'" />
        <span class="document-info">输入的新密码长度至少6位。</span>
    </div>
    <div class="document-row document-zero-bottom">
        <label class="document-label">密码确认</label>
        <input name="newpwd" type="password" class="easyui-textbox" data-options="required:true,validType:'equals[\'#newpwd\']'" />
        <span class="document-info">请确认两次输入的新密码相同。</span>
    </div>
    <input name="id" type="hidden" value="@ViewBag.Work.UserID" />
</form>